/**
 * 
 */
package com.wolfpire.info.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wolfpire.system.common.Constants;
import com.wolfpire.system.common.UnCover;

/**
 * 技能竞赛情况
 * @author lihd
 *
 */

@Entity
@Table(name = "t_skills_competition_info")
@DynamicInsert
@DynamicUpdate
public class SkillsCompetitionInfo implements Serializable {
	
	private static final long serialVersionUID = 1272993631336845700L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", unique = true, nullable = false, length = 16)
	private Long id;//主键Id
	
	@Column(name = "year_", length = 5)
	private Integer year; //年度
	
	/***********************参加全国职业院校技能大赛获奖（项）**************************/
	@Column(name = "national_skill_fir", length = 8)
	private Integer nationalSkillFir; //一等奖
	
	@Column(name = "national_skill_sec", length = 8)
	private Integer nationalSkillSec; //二等奖
	
	@Column(name = "national_skill_third", length = 8)
	private Integer nationalSkillThird; //三等奖
	/*********************************************************************************/
	
	/***********************参加全省职业院校技能大赛获奖（项）**************************/
	@Column(name = "province_skill_fir", length = 8)
	private Integer provinceSkillFir; //一等奖
	
	@Column(name = "province_skill_sec", length = 8)
	private Integer provinceSkillSec; //二等奖
	
	@Column(name = "province_skill_third", length = 8)
	private Integer provinceSkillThird; //三等奖
	/*********************************************************************************/
	
	/***********************参加全国职业院校信息化教学大赛获奖（项）*********************/
	@Column(name = "national_information_fir", length = 8)
	private Integer nationalInformationFir; //一等奖
	
	@Column(name = "national_information_sec", length = 8)
	private Integer nationalInformationSec; //二等奖
	
	@Column(name = "national_information_third", length = 8)
	private Integer nationalInformationThird; //三等奖
	/*********************************************************************************/
	
	/***********************参加全省职业院校信息化教学大赛获奖（项）*********************/
	@Column(name = "province_information_fir", length = 8)
	private Integer provinceInformationFir; //一等奖
	
	@Column(name = "province_information_sec", length = 8)
	private Integer provinceInformationSec; //二等奖
	
	@Column(name = "province_information_third", length = 8)
	private Integer provinceInformationThird; //三等奖
	/*********************************************************************************/
	
	/***********************参加行业性技能竞赛获奖（项）********************************/
	@Column(name = "industry_skill_fir", length = 8)
	private Integer industrySkillFir; //一等奖
	
	@Column(name = "industry_skill_sec", length = 8)
	private Integer industrySkillSec; //二等奖
	
	@Column(name = "industry_skill_third", length = 8)
	private Integer industrySkillThird; //三等奖
	/*********************************************************************************/

	@Column(name = "create_user_id", length = 16)
	private Long createUserId; //创建用户Id
	
	@Column(name = "create_user_name", length = 50)
	private String createUserName; //创建用户名称
	
	@UnCover
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "create_time")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") 
	private Date createTime;//创建时间
	
	@Column(name = "del_flag", length = 1)
	private Integer delFlag = Constants.NORMAL_FLAG;

	public SkillsCompetitionInfo() {
		super();
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public Integer getNationalSkillFir() {
		return nationalSkillFir;
	}

	public void setNationalSkillFir(Integer nationalSkillFir) {
		this.nationalSkillFir = nationalSkillFir;
	}

	public Integer getNationalSkillSec() {
		return nationalSkillSec;
	}

	public void setNationalSkillSec(Integer nationalSkillSec) {
		this.nationalSkillSec = nationalSkillSec;
	}

	public Integer getNationalSkillThird() {
		return nationalSkillThird;
	}

	public void setNationalSkillThird(Integer nationalSkillThird) {
		this.nationalSkillThird = nationalSkillThird;
	}

	public Integer getProvinceSkillFir() {
		return provinceSkillFir;
	}

	public void setProvinceSkillFir(Integer provinceSkillFir) {
		this.provinceSkillFir = provinceSkillFir;
	}

	public Integer getProvinceSkillSec() {
		return provinceSkillSec;
	}

	public void setProvinceSkillSec(Integer provinceSkillSec) {
		this.provinceSkillSec = provinceSkillSec;
	}

	public Integer getProvinceSkillThird() {
		return provinceSkillThird;
	}

	public void setProvinceSkillThird(Integer provinceSkillThird) {
		this.provinceSkillThird = provinceSkillThird;
	}

	public Integer getNationalInformationFir() {
		return nationalInformationFir;
	}

	public void setNationalInformationFir(Integer nationalInformationFir) {
		this.nationalInformationFir = nationalInformationFir;
	}

	public Integer getNationalInformationSec() {
		return nationalInformationSec;
	}

	public void setNationalInformationSec(Integer nationalInformationSec) {
		this.nationalInformationSec = nationalInformationSec;
	}

	public Integer getNationalInformationThird() {
		return nationalInformationThird;
	}

	public void setNationalInformationThird(Integer nationalInformationThird) {
		this.nationalInformationThird = nationalInformationThird;
	}

	public Integer getProvinceInformationFir() {
		return provinceInformationFir;
	}

	public void setProvinceInformationFir(Integer provinceInformationFir) {
		this.provinceInformationFir = provinceInformationFir;
	}

	public Integer getProvinceInformationSec() {
		return provinceInformationSec;
	}

	public void setProvinceInformationSec(Integer provinceInformationSec) {
		this.provinceInformationSec = provinceInformationSec;
	}

	public Integer getProvinceInformationThird() {
		return provinceInformationThird;
	}

	public void setProvinceInformationThird(Integer provinceInformationThird) {
		this.provinceInformationThird = provinceInformationThird;
	}

	public Integer getIndustrySkillFir() {
		return industrySkillFir;
	}

	public void setIndustrySkillFir(Integer industrySkillFir) {
		this.industrySkillFir = industrySkillFir;
	}

	public Integer getIndustrySkillSec() {
		return industrySkillSec;
	}

	public void setIndustrySkillSec(Integer industrySkillSec) {
		this.industrySkillSec = industrySkillSec;
	}

	public Integer getIndustrySkillThird() {
		return industrySkillThird;
	}

	public void setIndustrySkillThird(Integer industrySkillThird) {
		this.industrySkillThird = industrySkillThird;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}

}
